Skip to content

ConnectableSignalAsync class

Defined in

Namespace: ReactiveUI.Primitives.Async Assembly: ReactiveUI.Primitives.Async.Core.dll Full name: ReactiveUI.Primitives.Async.ConnectableSignalAsync<T> Modifiers: public sealed

Summary

View source

        Represents an asynchronous observable sequence that can be connected to a data source, allowing control over when
        the subscription to the underlying resource is established.
        

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481, net471

Class hierarchy
classDiagram
class ConnectableSignalAsync~T~
class IObservableAsync~T~ {
    <>
}
IObservableAsync~T~ <|.. ConnectableSignalAsync~T~
class IDisposable {
    <>
}
IDisposable <|.. ConnectableSignalAsync~T~

Implements: IObservableAsync, IDisposable

Remarks

A connectable observable enables explicit control over the connection to the data source, which can be useful for sharing a single subscription among multiple observers or for deferring the start of data emission until explicitly connected. Implementations may vary in how connections are managed and whether multiple connections are supported concurrently.

Constructors

NameSummary
.ctorInitializes a new instance of the [ConnectableSignalAsync](# class.

Methods

NameSummary
ConnectAsyncAsynchronously establishes a connection to the target resource and returns a disposable handle for managing the connection's lifetime.
DisposeReleases all resources used by the current instance of the class.
Inherited members